package com.itheima.reggie.service;

import com.itheima.reggie.entity.OrderDetail;

import java.util.List;

public interface OrderDetailService {
    
    /**
     * 添加订单详情对象
     * @param orderDetail
     * @return
     */
    int add(OrderDetail orderDetail);

    /**
     * 根据orderid查询订单详情
     * @param id
     * @return
     */
    List<OrderDetail> findByOrderId(Long id);
}
